﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MdbPhoneBook.Dal;
using MdbPhoneBook.Entities;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Builders;
using MongoDB.Driver.GridFS;
using MongoDB.Driver.Linq;


namespace MdbPhoneBook
{
    class Program
    {
        static void Main(string[] args)
        {
            var list = (new EmployeesReadDal()).GetEmployees();

            list.ForEach(emp => Console.WriteLine(emp.ToString()));
            
            Console.Read();
        }


    }
}
